-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tpg v5)!: rule.rate_limit_options.enforce_on_key has not default value #77
fix(tpg v5)!: rule.rate_limit_options.enforce_on_key has not default value #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need versions.tf for examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Infrequently, might be needed if the example make use a provider directly such as Random
, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we dont have any other provider except google, leme remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @imrannayer! Can you also lift to 6
in https://github.com/GoogleCloudPlatform/terraform-google-cloud-armor/blob/main/test/setup/versions.tf
@g-awmalik @apeabody This will be a breaking change as there is a behavior change for |
Thanks @imrannayer - @g-awmalik any thoughts on releasing #70 as a final v4 compatible before merging this? |
@apeabody #70 is already a breaking change. I think it will be better to release 5.X with it. |
Just to confirm, the breaking change |
@apeabody I am not changing min version to 5.X. Min is still 4.79. But in case anyone gets upgrade to 5.X will need to make sure they provide a value for rule.rate_limit_options.enforce_on_key. |
Got it - Thanks! |
/gcbrun |
@g-awmalik can u plz approve this PR |
In
4.X
, the default value forrule.rate_limit_options.enforce_on_key
isALL
. In5.X
this field no longer has a default value. If you needAll
you will need to set it explicitly. See Rule 2 inexamples/security-policy-all
folder for reference.